package com.arica.framework.dto;

import lombok.Data;

import java.util.Date;

@Data
public class MqConsumptionDTO {

    /**
     * 消息主键key
     **/
    private String mqKey;

    /**
     * 消息的逻辑处理器
     */
    private String processType;

    /**
     * 业务key
     */
    private String businessKey;

    /**
     * 创建时间
     */
    private Date gmtCreateTime;

    /**
     * 修改时间
     */
    private Date gmtModifyTime;

    public MqConsumptionDTO() {
    }

    public MqConsumptionDTO(String key, String processType, String businessKey) {
        this.mqKey = key;
        this.processType = processType;
        this.businessKey = businessKey;
    }

}
